home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
FILE2VAR.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
1KB
|
43 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_File2Var(cFileName) --> xVariable
PARAMETERS:
cFileName : File NAME, previously created by the _Var2File() function.
SHORT:
Retrieve variable values from disk file written by _Var2File().
DESCRIPTION:
See _Var2File() for a complete discussion of these two functions.
_File2Var() reads the data file specified in cFileName and returns the
value of the data stored therein. It is useful and meaningful only when
used in combination with variables that have been stored to disk with
the _Var2File() function.
NOTE:
See also: _Array2Str(), _Str2Array(), _Var2File()
EXAMPLE:
cString = "THIS IS A STRING"
_Var2File(cString,"FILE.EXT")
cString = ""
cString = _File2Var("FILE.EXT")
Result: cString = "THIS IS A STRING"
******************************************************************************/